-- GENERATED SPELL FOR [Towering Infernal] --


function spell0_17818(pUnit, Event) --@Inferno Effect,Self--
pUnit:FullCastSpellOnTarget(31302,pUnit)
pUnit:RegisterEvent('Sorts_17818', 2328, 1)
end

function Sorts_17818(pUnit, Event)
local choix_sorts_17818 = math.random(0, 0)
if choix_sorts_17818 == 0 then
pUnit:RegisterEvent('spell0_17818', 1, 1)
end
end

function mob17818_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17818', math.random(1500, 3000), 1)
end

function mob17818_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17818_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17818_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17818, 1, 'mob17818_Action')
RegisterUnitEvent(17818, 2, 'mob17818_Leave')
RegisterUnitEvent(17818, 3, 'mob17818_Kill')
RegisterUnitEvent(17818, 4, 'mob17818_Die')
